package com.edais.domain;

import java.io.Serializable;
import java.math.BigDecimal;

public class Loan  implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Integer id ; // 标的ID
	private BigDecimal alreadyBidAmount ; // 已投金额
	private Integer authorizeAgreementId ; // 授权协议：关联合同模板表
	private Integer borrowAgreementId ; // 协议/债权装让协议：关联合同模版表
	private String borrowType ; // 借款用途
	private BigDecimal cashFund ; // 保证金：一次性冻结，还清时解冻，用户应得金额为计算源
	private String closeTime ; // 结清时间
	private BigDecimal contactAmount ; // 借款总额-合同金额
	private String createTime ; // 创建时间
	private String endTime ; // 该标的理论结束时间
	private BigDecimal finishedRatio ; // 完成率
	private String firstOverdueDate ; // 首次逾期时间
	private String firstRepaidBygurantorTime ; // 首次风险金垫付时间
	private BigDecimal guaranteeFeerate ; // 担保费率（保障金）：风险金(% 一次性收取，计入风险池)
	private String guraanteed ; // 是否支持风险金垫付(Y/N)
	private BigDecimal interest ; // 年利率
	private String isAdvanceRepay ; // 是否提前还款-一次性还清(Y/N)
	private String isOverdueIntegratedRepay ; // 是否整笔催收-一次性还清(Y/N)
	private String isUrgent ; // 是否加急(Y/N)
	private String latestUpdateTime ; // 最后更新时间
	private String loanStatus ; // 交易状态
	private String loanTitle ; // 借款标题
	private String loanType ; // 标类型(101、E计划；102、E贷通；103、鼓钱包)
	private BigDecimal monthlyComplexFeerate ; // 月综合费率（%）：线下计算使用，线上不使用，产品计入的log
	private BigDecimal openAmount ; // 放款金额-计入用户帐户的金额 
	private String openTime ; // 开标时间
	private String overdueDate ; // 逾期时间：该值不断更新，正常状态后该值清空
	private String overdued ; // 是否逾期过（Y/N）
	private String passTime ; // 放标时间
	private Integer productId ; // 标所关联的产品：外联产品表
	private BigDecimal profit ; // 分成：放标一次性收取计入系统账户
	private BigDecimal quciklyFeerate ; // 加急费率
	private String readyTime ; // 满标时间
	private String repaidByguarantor ; // 风险金是否曾垫付过（Y/N）
	private String repaidBygurantorTime ; // 风险金垫付时间
	private Integer repaymentAgreementId ; // 还款协议：关联合同镜像表
	private String repaymentDate ; // 还款日期(1或16)
	private String repaymentdateType ; // 还款日类型：（FIXED_DATE:固定还款日；NOT_FIXED_DATE:非固定还款日）
	private String repaymentType ; // 还款类型
	private BigDecimal serviceFeerate ; // 交易服务费：放标一次性收取计入系统账户
	private String staffName ; // 最后后台更新人员
	private Integer version ; // 版本控制
	private Integer borrowerId ; // 借入者（用户ID）
	private Integer productParmeterId ; // 产品参数表的ID
	private Integer orgCode ; // 机构码
	//private Integer moveBidId ; // 2.0迁移源标的ID
	private Long moveBidId ; // 2.0迁移源标的ID
	private String resourceFlag ; // 标的来源标志（1、2.0迁移 2、3.0新增）
	private BigDecimal repayAmount ; // 已还本金
	private String nextRepayDate ; // 下一还款日期
	private String contractResource ; // 合同来源：标的上传用
	private BigDecimal approveAmount ; // 审批金额：标的上传用
	private BigDecimal serviceFee ; // 服务费：标的上传用
	private String matchingPriority ; // 匹配优先级（0、网站（表示前台没配）；1、手机；2、网站，半角逗号分隔）
	private String website ; // 网点
	private Integer loanMonths ; // 还款周期（月）
	private Integer belowLineCid ; // 线下系统里的ID号
	private Integer signagreementId ; // 签约合同编号
	private String isUploadSignagreement ; // 签约合同上否上传(Y/N 只有Y才可以点放款)
	private Integer loanBatchId ; // 标的批次ID
	private Integer isLock ; // 是否被锁定（1：是；0：否）
	private String firstRepayDate ; // 首次还款日期
	private Integer userBankCardId ; // 用户绑定银行卡ID
	private String createPer;//
	private Integer remanDays;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public BigDecimal getAlreadyBidAmount() {
		return alreadyBidAmount;
	}

	public void setAlreadyBidAmount(BigDecimal alreadyBidAmount) {
		this.alreadyBidAmount = alreadyBidAmount;
	}

	public Integer getAuthorizeAgreementId() {
		return authorizeAgreementId;
	}

	public void setAuthorizeAgreementId(Integer authorizeAgreementId) {
		this.authorizeAgreementId = authorizeAgreementId;
	}

	public Integer getBorrowAgreementId() {
		return borrowAgreementId;
	}

	public void setBorrowAgreementId(Integer borrowAgreementId) {
		this.borrowAgreementId = borrowAgreementId;
	}

	public String getBorrowType() {
		return borrowType;
	}

	public void setBorrowType(String borrowType) {
		this.borrowType = borrowType;
	}

	public BigDecimal getCashFund() {
		return cashFund;
	}

	public void setCashFund(BigDecimal cashFund) {
		this.cashFund = cashFund;
	}

	public String getCloseTime() {
		return closeTime;
	}

	public void setCloseTime(String closeTime) {
		this.closeTime = closeTime;
	}

	public BigDecimal getContactAmount() {
		return contactAmount;
	}

	public void setContactAmount(BigDecimal contactAmount) {
		this.contactAmount = contactAmount;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public BigDecimal getFinishedRatio() {
		return finishedRatio;
	}

	public void setFinishedRatio(BigDecimal finishedRatio) {
		this.finishedRatio = finishedRatio;
	}

	public String getFirstOverdueDate() {
		return firstOverdueDate;
	}

	public void setFirstOverdueDate(String firstOverdueDate) {
		this.firstOverdueDate = firstOverdueDate;
	}

	public String getFirstRepaidBygurantorTime() {
		return firstRepaidBygurantorTime;
	}

	public void setFirstRepaidBygurantorTime(String firstRepaidBygurantorTime) {
		this.firstRepaidBygurantorTime = firstRepaidBygurantorTime;
	}

	public BigDecimal getGuaranteeFeerate() {
		return guaranteeFeerate;
	}

	public void setGuaranteeFeerate(BigDecimal guaranteeFeerate) {
		this.guaranteeFeerate = guaranteeFeerate;
	}

	public String getGuraanteed() {
		return guraanteed;
	}

	public void setGuraanteed(String guraanteed) {
		this.guraanteed = guraanteed;
	}

	public BigDecimal getInterest() {
		return interest;
	}

	public void setInterest(BigDecimal interest) {
		this.interest = interest;
	}

	public String getIsAdvanceRepay() {
		return isAdvanceRepay;
	}

	public void setIsAdvanceRepay(String isAdvanceRepay) {
		this.isAdvanceRepay = isAdvanceRepay;
	}

	public String getIsOverdueIntegratedRepay() {
		return isOverdueIntegratedRepay;
	}

	public void setIsOverdueIntegratedRepay(String isOverdueIntegratedRepay) {
		this.isOverdueIntegratedRepay = isOverdueIntegratedRepay;
	}

	public String getIsUrgent() {
		return isUrgent;
	}

	public void setIsUrgent(String isUrgent) {
		this.isUrgent = isUrgent;
	}

	public String getLatestUpdateTime() {
		return latestUpdateTime;
	}

	public void setLatestUpdateTime(String latestUpdateTime) {
		this.latestUpdateTime = latestUpdateTime;
	}

	public String getLoanStatus() {
		return loanStatus;
	}

	public void setLoanStatus(String loanStatus) {
		this.loanStatus = loanStatus;
	}

	public String getLoanTitle() {
		return loanTitle;
	}

	public void setLoanTitle(String loanTitle) {
		this.loanTitle = loanTitle;
	}

	public String getLoanType() {
		return loanType;
	}

	public void setLoanType(String loanType) {
		this.loanType = loanType;
	}

	public BigDecimal getMonthlyComplexFeerate() {
		return monthlyComplexFeerate;
	}

	public void setMonthlyComplexFeerate(BigDecimal monthlyComplexFeerate) {
		this.monthlyComplexFeerate = monthlyComplexFeerate;
	}

	public BigDecimal getOpenAmount() {
		return openAmount;
	}

	public void setOpenAmount(BigDecimal openAmount) {
		this.openAmount = openAmount;
	}

	public String getOpenTime() {
		return openTime;
	}

	public void setOpenTime(String openTime) {
		this.openTime = openTime;
	}

	public String getOverdueDate() {
		return overdueDate;
	}

	public void setOverdueDate(String overdueDate) {
		this.overdueDate = overdueDate;
	}

	public String getOverdued() {
		return overdued;
	}

	public void setOverdued(String overdued) {
		this.overdued = overdued;
	}

	public String getPassTime() {
		return passTime;
	}

	public void setPassTime(String passTime) {
		this.passTime = passTime;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public BigDecimal getProfit() {
		return profit;
	}

	public void setProfit(BigDecimal profit) {
		this.profit = profit;
	}

	public BigDecimal getQuciklyFeerate() {
		return quciklyFeerate;
	}

	public void setQuciklyFeerate(BigDecimal quciklyFeerate) {
		this.quciklyFeerate = quciklyFeerate;
	}

	public String getReadyTime() {
		return readyTime;
	}

	public void setReadyTime(String readyTime) {
		this.readyTime = readyTime;
	}

	public String getRepaidByguarantor() {
		return repaidByguarantor;
	}

	public void setRepaidByguarantor(String repaidByguarantor) {
		this.repaidByguarantor = repaidByguarantor;
	}

	public String getRepaidBygurantorTime() {
		return repaidBygurantorTime;
	}

	public void setRepaidBygurantorTime(String repaidBygurantorTime) {
		this.repaidBygurantorTime = repaidBygurantorTime;
	}

	public Integer getRepaymentAgreementId() {
		return repaymentAgreementId;
	}

	public void setRepaymentAgreementId(Integer repaymentAgreementId) {
		this.repaymentAgreementId = repaymentAgreementId;
	}

	public String getRepaymentDate() {
		return repaymentDate;
	}

	public void setRepaymentDate(String repaymentDate) {
		this.repaymentDate = repaymentDate;
	}

	public String getRepaymentdateType() {
		return repaymentdateType;
	}

	public void setRepaymentdateType(String repaymentdateType) {
		this.repaymentdateType = repaymentdateType;
	}

	public String getRepaymentType() {
		return repaymentType;
	}

	public void setRepaymentType(String repaymentType) {
		this.repaymentType = repaymentType;
	}

	public BigDecimal getServiceFeerate() {
		return serviceFeerate;
	}

	public void setServiceFeerate(BigDecimal serviceFeerate) {
		this.serviceFeerate = serviceFeerate;
	}

	public String getStaffName() {
		return staffName;
	}

	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public Integer getBorrowerId() {
		return borrowerId;
	}

	public void setBorrowerId(Integer borrowerId) {
		this.borrowerId = borrowerId;
	}

	public Integer getProductParmeterId() {
		return productParmeterId;
	}

	public void setProductParmeterId(Integer productParmeterId) {
		this.productParmeterId = productParmeterId;
	}

	public Integer getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(Integer orgCode) {
		this.orgCode = orgCode;
	}

/*	public Integer getMoveBidId() {
		return moveBidId;
	}

	public void setMoveBidId(Integer moveBidId) {
		this.moveBidId = moveBidId;
	}*/

	public Long getMoveBidId() {
		return moveBidId;
	}

	public void setMoveBidId(Long moveBidId) {
		this.moveBidId = moveBidId;
	}
	
	public String getResourceFlag() {
		return resourceFlag;
	}

	public void setResourceFlag(String resourceFlag) {
		this.resourceFlag = resourceFlag;
	}

	public BigDecimal getRepayAmount() {
		return repayAmount;
	}

	public void setRepayAmount(BigDecimal repayAmount) {
		this.repayAmount = repayAmount;
	}

	public String getNextRepayDate() {
		return nextRepayDate;
	}

	public void setNextRepayDate(String nextRepayDate) {
		this.nextRepayDate = nextRepayDate;
	}

	public String getContractResource() {
		return contractResource;
	}

	public void setContractResource(String contractResource) {
		this.contractResource = contractResource;
	}

	public BigDecimal getApproveAmount() {
		return approveAmount;
	}

	public void setApproveAmount(BigDecimal approveAmount) {
		this.approveAmount = approveAmount;
	}

	public BigDecimal getServiceFee() {
		return serviceFee;
	}

	public void setServiceFee(BigDecimal serviceFee) {
		this.serviceFee = serviceFee;
	}

	public String getMatchingPriority() {
		return matchingPriority;
	}

	public void setMatchingPriority(String matchingPriority) {
		this.matchingPriority = matchingPriority;
	}

	public String getWebsite() {
		return website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}

	public Integer getLoanMonths() {
		return loanMonths;
	}

	public void setLoanMonths(Integer loanMonths) {
		this.loanMonths = loanMonths;
	}

	public Integer getBelowLineCid() {
		return belowLineCid;
	}

	public void setBelowLineCid(Integer belowLineCid) {
		this.belowLineCid = belowLineCid;
	}

	public Integer getSignagreementId() {
		return signagreementId;
	}

	public void setSignagreementId(Integer signagreementId) {
		this.signagreementId = signagreementId;
	}

	public String getIsUploadSignagreement() {
		return isUploadSignagreement;
	}

	public void setIsUploadSignagreement(String isUploadSignagreement) {
		this.isUploadSignagreement = isUploadSignagreement;
	}

	public Integer getLoanBatchId() {
		return loanBatchId;
	}

	public void setLoanBatchId(Integer loanBatchId) {
		this.loanBatchId = loanBatchId;
	}

	public Integer getIsLock() {
		return isLock;
	}

	public void setIsLock(Integer isLock) {
		this.isLock = isLock;
	}

	public String getFirstRepayDate() {
		return firstRepayDate;
	}

	public void setFirstRepayDate(String firstRepayDate) {
		this.firstRepayDate = firstRepayDate;
	}

	public Integer getUserBankCardId() {
		return userBankCardId;
	}

	public void setUserBankCardId(Integer userBankCardId) {
		this.userBankCardId = userBankCardId;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public String getCreatePer() {
		return createPer;
	}

	public void setCreatePer(String createPer) {
		this.createPer = createPer;
	}
	

	public Integer getRemanDays() {
		return remanDays;
	}

	public void setRemanDays(Integer remanDays) {
		this.remanDays = remanDays;
	}
}
